<div>
    <h2>员工编辑</h2>
    <br />

    <div ng-hide="hideId">
        <label>员工代码：</label> <input type="text" ng-model="currentEmp.id" />
    </div>
    <div>
        <label>员工名称：</label> <input type="text" ng-model="currentEmp.name" />
    </div>
    <br />
    <div>
        <button ng-click="saveEmp()">保存</button>
        <button ng-click="back2List()">返回</button>
    </div>
</div>